package day240111;

public class StringBasic {
    public static void main(String[] args) {
        String prefix = "百搭：";

        byte vb = 1;
        System.out.println(prefix + vb);

        short vc = 2;
        System.out.println(prefix + vc);

        int vd = 4;
        System.out.println(prefix + vd);

        long ve = 8L;
        System.out.println(prefix + ve);

        float vf = 16;
        System.out.println(prefix + vf);

        double vg = 32;
        System.out.println(prefix + vg);

        char vh = '2';
        System.out.println(prefix + vh);

        boolean vi = true;
        System.out.println(prefix + vi);

        System.out.println("=== === ===");

        char c = 'a';
        int num = 10;
        String str = "hello";

        System.out.println(c + num + str);
        System.out.println(num + c + str);
        System.out.println(num + str + c);

        System.out.println("=== === ===");

        System.out.println('*' + ' ' + '*');

//        char x = '*';
//        int xi = (int) x;
//        System.out.println(xi);
//
//        System.out.println((int)' ');
        System.out.println('*' + " " + '*');


    }
}
